class UsersOperationBean {
  int code;
  String requestId;
  String msg;
  Data data;

  UsersOperationBean({this.code, this.requestId, this.msg, this.data});

  UsersOperationBean.fromJson(Map<String, dynamic> json) {
    code = json['code'];
    requestId = json['requestId'];
    msg = json['msg'];
    data = json['data'] != null ? new Data.fromJson(json['data']) : null;
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['code'] = this.code;
    data['requestId'] = this.requestId;
    data['msg'] = this.msg;
    if (this.data != null) {
      data['data'] = this.data.toJson();
    }
    return data;
  }
}

class Data {
  String cODE;
  String name;
  int id;
  bool lock;// 是否可以点击

  Data({this.cODE, this.name, this.id,this.lock});

  Data.fromJson(Map<String, dynamic> json) {
    cODE = json['CODE'];
    name = json['name'];
    id = json['id'];
    lock = json['lock'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['CODE'] = this.cODE;
    data['name'] = this.name;
    data['id'] = this.id;
    data['lock'] = this.lock;
    return data;
  }
}
